import { h } from "vue";
import http from "./http";

export const searchApi = (query,pagenum) => {
  return http({
    url: "https://api-hmugo-web.itheima.net/api/public/v1/goods/search",
    method: "GET",
    params: {query,pagenum},
  });
};
